rename define for default BABL_TOLERANCE to match envvar
authorØyvind Kolås <pippin@gimp.org>
Mon, 28 Nov 2016 11:14:45 +0000 (12:14 +0100)
committerØyvind Kolås <pippin@gimp.org>
Mon, 28 Nov 2016 11:14:45 +0000 (12:14 +0100)
babl/babl-fish-path.c

index f4df8cfbbe063d6b74b40f2ec6b6a50f26855823..23e775712f7b5b5dc34d8cca48c21a75303dd564 100644 (file)
@@ -21,7 +21,7 @@
 #include "babl-internal.h"
 #include "babl-ref-pixels.h"
 
-#define BABL_LEGAL_ERROR           0.000006
+#define BABL_TOLERANCE             0.000006
 #define BABL_MAX_COST_VALUE        2000000
 #define BABL_HARD_MAX_PATH_LENGTH  8
 #define BABL_MAX_NAME_LEN          1024
@@ -111,7 +111,7 @@ double _babl_legal_error (void)
   if (env && env[0] != '\0')
     error = babl_parse_double (env);
   else
-    error = BABL_LEGAL_ERROR;
+    error = BABL_TOLERANCE;
 
   env = getenv ("BABL_DEBUG_CONVERSIONS");
   if (env && env[0] != '\0')